/* 增加间距和内边距 */
#orders {
    width: 1200px;
    margin: 40px auto;
    font-family: 'Microsoft YaHei', sans-serif;
}

.orderTitle {
    height: 48px;
    line-height: 48px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 2px solid #ff6b6b;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.orderTitle div {
    text-align: center;
    color: #495057;
    font-weight: 600;
    flex: 1;
}

.info {
    flex: 2;
}

.picTitle, .numTitle, .rmbTitle, .actionTitle {
    flex: 1;
}

.order-list .order {
    padding: 24px;
    margin: 10px auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.order-list .order:hover {
    background-color: #f8f9fa;
    box-shadow: none;
    transform: none;
}

.order-list .order div {
    padding: 0 10px;
    flex: 1;
    text-align: center;
}

.total {
    margin-top: 30px;
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #e63946;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .orderTitle, .order-list .order {
        flex-direction: column;
        align-items: flex-start;
    }
    .info, .picTitle, .numTitle, .rmbTitle, .actionTitle, .order-list .order .info, .order-list .order .pic, .order-list .order .num, .order-list .order .rmb, .order-list .order .action {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }
}

.actionTitle {
    width: 150px;
    text-align: center;
    color: #495057;
    font-weight: 600;
}

.order-list .order .action {
    width: 150px;
    text-align: center;
}

.delete-btn {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background-color: #c1121f;
}